#!/bin/bash
#Aware Corporation Ltd.
#Linux Backup version 1.0 - Aware Corporation LTD (awarecorp@gmail.com)
#Last modified: 11-4-2011

#Directories
conf_path="/etc/backup"				#Path to configuration files.
temp_path="/tmp/"				#Temporary backup directory.
lock_path="/var/run/"				#Path where lock file is placed.
log_path="/var/log/backup"			#Log path.

#Applications					#Only need to be specified if not
						#in a system path.
sed_bin="sed"
tar_bin="tar"
mount_bin="mount"
umount_bin="umount"
mysqldump_bin="mysqldump"
mail_bin="mail"

#Files
lock_file="${lock_path}/backup.pid"		#Lock file name.
full_tag="${log_path}/full-${name}.timestamp"
						#Timestamp file for full backup.
differential_tag="${log_path}/diff-${name}.timestamp"
						#Timestamp file for differential backup.
log_file="${log_path}/backup.log"		#Log file name.
backup_name="${name}-date-type.ext"		#Backup name. Variables allowed:
						#[date, type, ext]
#Notification
email_address=('monitoring@yourdomain.com')	#Notify these emails.

#Switches
tar_switch="p"					#Additional switches to the tar command
